package demo;



public class TestThread implements Runnable {
	private MyCount cnt;

	public TestThread(MyCount cnt) {
		this.cnt = cnt;
	}

	public void run() {
		System.out.println("thread is " + Thread.currentThread().getName() + "content is " + cnt.getBegin());
	}

}
